scope.problemReporter(
        enclosingInstance,
        enclosingInstanceType,
        inheritedBinding.declaringClass.enclosingType())
        .typeMismatchErrorActualTypeExpectedType();